<div id="content_right">
    <%= render :partial => "/library/library_map" %>
</div>
<div id="content_left">
<%= render :partial => "/library/library_header" %>
<h1 class="library_title">Library of e.Case Studies</h1>
<% if @ecases.size > 0 %>
    <%  
    @ecases.each_with_index { |ecase, index| 
            vFL = ecase.title[0,1].upcase
            if index==0 || (@ecases[index - 1].title[0,1].upcase != vFL) %>
                <p class="az_info"><%= vFL %></p>
                <div class="horizontal_line"></div>
                <ul class="ecases_list"> 
            <% end %>
            <li><%= link_to ecase.title+" ("+ecase.country.name+")", :controller =>"ecases",:action=> "show" ,:id=> ecase.id %> </li>
          <% if !@ecases[index + 1] || (@ecases[index + 1].title[0,1].upcase != vFL) %>
            </ul>
          <% end %>
    <% } %>         
 <% end %>
</div>
<div id="content_discard_float"></div>